package com.baizhi.service.impl;

import com.baizhi.dao.BookDao;
import com.baizhi.entity.Book;
import com.baizhi.service.BookService;

import java.util.List;

public class BookServiceImpl implements BookService {
    private BookDao bd;

    @Override
    public List<Book> selectAll() {
        return bd.selectAll();
    }

    public BookDao getBd() {
        return bd;
    }

    public void setBd(BookDao bd) {
        this.bd = bd;
    }
}
